import { createApp } from 'vue'
import App from './App.vue'
//Ant ui组件 
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
//路由
import { router } from './page/router/route';
//vuex
import store from './store';
import { directive } from './plugIn/directive/directive';
/*! Flexible Grid System 5.6.0 | Scss Plus | MIT License | dnomak.com/flexiblegs */
/*快速布局样式 网址:  dnomak.com/flexiblegs */
import './package/theme/css/style.css'
import './assets/styles/common.css'



import abcService from './package/abc/abc.service';

const app = createApp(App)
//Ant ui组件 引入
app.use(Antd)

app.use(router)
app.use(store)
//全局组件注册
for (const key in abcService) {
    app.component(key,abcService[key])
}
//指令注册
directive(app)

app.mount('#app')